package com.xinruke.hostels.system.manage.interfaces.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xinruke.hostels.common.vo.query.BaseQueryVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author GuoZheng
 * @ClassName ReservationRoomTypeQueryDTO
 * @date：2019/7/4
 * @version: V1.0.0
 * @description：
 */
@ApiModel("预订系统查询指定酒店下房间类型DTO")
@Data
public class ReservationRoomTypeQueryDTO extends BaseQueryVO {

    /**
     * 酒店id
     */
    @ApiModelProperty(value = "酒店id",required = true)
    @NotNull(message = "酒店id不能为空")
    private Integer jiudianId;
    /**
     * 预订开始时间
     */
    @ApiModelProperty("预订开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    /**
     * 预订结束时间
     */
    @ApiModelProperty("预订结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;




}
